
package payment;

/**
 *
 * @author shenrunfu
 */
public class Oosd_a2 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
//        PizzaBase cheesePizzaBase = new PizzaBase();
//        PizzaDiscountInfo discount = new PizzaDiscountInfo();
//        AUGST augst = new AUGST();
//        CNGST cngst = new CNGST();
//        MLGST mlgst = new MLGST();
        //test
//        Payment payment = new Payment((float)120.70);
        System.out.print((float)1.27-(float)0.14);
       
        
//        payment.setDiscount(discount);
//        payment.setPizzaBase(cheesePizzaBase);
//        payment.setGSTStrategy(augst);
//        System.out.println(payment.calculatePayment());
//        
//        payment.setGSTStrategy(cngst);
//        System.out.println(payment.calculatePayment());
//        
//        payment.setGSTStrategy(mlgst);
//        System.out.println(payment.calculatePayment());
    }
}
